import java.util.Scanner;

/**
 * @Version v1.0
 * @Description: TODO
 * @Author ZHANZHONGXIN
 * @Date 2022/5/6 14:51
 * @Copyright 博为峰
 */
public class ForDemo03 {
    public static void main(String[] args) {
        for (int i = 0; i < 5; i++) {
            System.out.println("i = " + i);
        }
//        System.out.println("i = " + i);

        System.out.println("-------------------------------------");

        int i = 0;
        for (; i < 5; ) {
//            System.out.println("i = " + i);
            i++;
        }
//        System.out.println("i = " + i);

        for (; ; ) {//无限循环
        }
    }
}
